@layout("/common/_form.html",{js:["/assets/cms/appNotice/appNotice_add.js"],plugins:["ue"]}){

<form class="layui-form" id="appNoticeForm" lay-filter="appNoticeForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="noticeId" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">文章标题<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="title" name="title" placeholder="请输入文章标题" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">封面<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <div class="layui-upload-list"  id="changeImg">
                                <img class="layui-upload-img changeImg" id="demo1" class src="${ctxPath}/assets/common/images/blank.png" >
                                <p id="demoText"></p>
                                <input id="pic" name="pic" placeholder=""  type="hidden" class="layui-input"/>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">摘要<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <textarea id="summary" name="summary" placeholder="请输入摘要" class="layui-textarea" lay-verify="required" required></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">详情<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <script id="content" name="content" type="text/plain"></script>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}